<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<style>
.searchBar label {
	padding: 0 85px 0 5px;
}
</style>
<div class="pageHeader">
	<form id="pagerForm" onsubmit="return navTabSearch(this);" action="${pageContext.request.contextPath}/investment/handover/details" method="post">
		<!-- 分页表单参数 -->
		<%@include file="/WEB-INF/page/inc/pageForm.jsp"%>
		<input type="hidden" name="id" value="${requestScope.record.id}" />
		<!-- 需要排序的字段 -->
		<input type="hidden" name="orderField" value="${requestScope.dwzPageBean.countResultMap.orderField}" />
		<!-- 正序倒序 -->
		<input type="hidden" name="orderDirection" value="${requestScope.dwzPageBean.countResultMap.orderDirection}" />
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td><p class="nowrap">
							<label>业主姓名：${requestScope.record.name}</label>
						</p></td>
					<td><p class="nowrap">
							<label>联系电话：${requestScope.record.phone}</label>
						</p></td>
					<td><p class="nowrap">
							<label>QQ：${requestScope.record.qq}</label>
						</p></td>
					<td><p class="nowrap">
							<label>年龄：${requestScope.record.age}</label>
						</p></td>
					<td><p class="nowrap">
							<label>业主性格：${requestScope.record.cacr}</label>
						</p></td>
					<td><p class="nowrap">
							<label>业主职业：${requestScope.record.carr}</label>
						</p></td>
					
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>签约时间：<fmt:formatDate value='${requestScope.record.sgtm}' pattern='yyyy-MM-dd'/></label>
						</p></td>
					<td><p class="nowrap">
							<label>店铺级别：${requestScope.record.stle}</label>
						</p></td>
					<td><p class="nowrap">
							<label>客户来源：${requestScope.record.source}</label>
						</p></td>
					<td><p class="nowrap">
							<label>经营方式：${requestScope.record.optw}</label>
						</p></td>
					
					<td><p class="nowrap">
							<label>是否有店铺：${requestScope.record.issp==0?'否':''}${requestScope.record.issp==1?'是':''}</label>
						</p></td>
					
					<td><p class="nowrap">
							<label>店铺面积：<nf:nfmt num="${requestScope.record.ftae}"/></label>
						</p></td>

				</tr>
				<tr>
					<td><p class="nowrap">
							<label>有无图纸：${requestScope.record.isdw==0?'无':''} ${requestScope.record.isdw==1?'有':''}</label>
						</p></td>
					<td><p class="nowrap">
							<label>图纸设计日期：<fmt:formatDate value='${requestScope.record.dstm}' pattern='yyyy-MM-dd'/></label>
						</p></td>
					<td><p class="nowrap">
							<label>预计开业时间：<fmt:formatDate value='${requestScope.record.eptm}' pattern='yyyy-MM-dd'/></label>
						</p></td>
					<td><p class="nowrap">
							<label>招商经理：${requestScope.record.imname}</label>
						</p></td>
					<td><p class="nowrap">
							<label>区域经理：${requestScope.record.rgname}</label>
						</p></td>
					<td><p class="nowrap">
							<label>运营督导：${requestScope.record.opname}</label>
						</p></td>
				</tr>
				<tr>
					
					<td><p class="nowrap">
							<label>合同编号：${requestScope.record.ctno}</label>
						</p></td>
					<td><p class="nowrap">
							<label>保证金：<nf:nfmt num="${requestScope.record.mrgn}"/></label>
						</p></td>
						<td><p class="nowrap">
							<label>管理费：<nf:nfmt num="${requestScope.record.mgmt}"/></label>
						</p></td>
						<td><p class="nowrap">
							<label>品牌授权费：<nf:nfmt num="${requestScope.record.auth}"/></label>
						</p></td>
					<td><p class="nowrap">
							<label>报销费用：<nf:nfmt num="${requestScope.record.rbmt}"/></label>
						</p></td>
					<td><p class="nowrap">
							<label>合同附件：<a href="${pageContext.request.contextPath }/${requestScope.record.anex}">附件下载</a></label>
						</p></td>
				</tr>
				<tr>
					<td colspan="3"><p class="nowrap">
							<label>地区：${requestScope.record.areaName}</label>
						</p></td>
					<td colspan="3"><p class="nowrap">
							<label>详细地址：${requestScope.record.addr}</label>
						</p></td>
					
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>人员下派问题：${requestScope.record.sdpb}</label>
						</p></td>
				</tr>
				<tr>
				<td><p class="nowrap">
						<label>进货返点服务：${requestScope.record.icrs}</label>
					</p></td>
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>运费承担问题：${requestScope.record.fipb}</label>
						</p></td>

				</tr>
				<tr>
					<td><p class="nowrap">
							<label>星配调换问题：${requestScope.record.mcpb}</label>
						</p></td>
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>人员培训问题：${requestScope.record.tapb}</label>
						</p></td>
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>招商促销方案：${requestScope.record.pmtn}</label>
						</p></td>
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>合作协议：${requestScope.record.cpam}</label>
						</p></td>
				</tr>
				<tr>
					<td><p class="nowrap">
							<label>审核备注：${requestScope.record.rvrm}</label>
						</p></td>
				</tr>
			</table>
			<!-- <div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">查询</button>
							</div>
						</div>
					</li>
				</ul>
			</div> -->
		</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<shiro:hasPermission name="/investment/handover/list">
				<li><a target="navTab" title="新客户移交" rel="${pageContext.request.contextPath}/investment/handover/list" href="${pageContext.request.contextPath}/investment/handover/list" class="goBackBtn" mask="true"><span>返回</span></a></li>
			</shiro:hasPermission>
		</ul>
	</div>
	<table class="table" targetType="navTab" asc="asc" desc="desc" width="100%" layoutH="412">
		<thead>
			<tr>
				<th orderField="fwtm" <c:if test="${requestScope.dwzPageBean.countResultMap.orderField == 'fwtm'}">class="${requestScope.dwzPageBean.countResultMap.orderDirection}"</c:if>>跟进时间</th>
				<th orderField="fwop" <c:if test="${requestScope.dwzPageBean.countResultMap.orderField == 'fwop'}">class="${requestScope.dwzPageBean.countResultMap.orderDirection}"</c:if>>跟进操作</th>
				<th orderField="remk"  width="150" <c:if test="${requestScope.dwzPageBean.countResultMap.orderField == 'remk'}">class="${requestScope.dwzPageBean.countResultMap.orderDirection}"</c:if>>备注</th>
				<th orderField="add_time" <c:if test="${requestScope.dwzPageBean.countResultMap.orderField == 'add_time'}">class="${requestScope.dwzPageBean.countResultMap.orderDirection}"</c:if>>添加时间</th>
			</tr>
		</thead>
		<tbody>
			<c:if test="${requestScope.dwzPageBean != null &&  requestScope.dwzPageBean.recordList != null }">
				<c:forEach var="record" items="${requestScope.dwzPageBean.recordList}" varStatus="status">
					<tr ondblclick="openDetails(this)" target="dialog" href="${pageContext.request.contextPath}/investment/investmentFollow/toUpdate?id=${record.id}" title="编辑">
						<td>${record.fwtm}</td>
						<td>${record.fwop}</td>
						<td>${record.remk}</td>
						<td><fmt:formatDate value="${record.addTime}" pattern='yyyy-MM-dd'/></td>
					</tr>
				</c:forEach>
			</c:if>
		</tbody>
	</table>
	<!-- 分页条 -->
	<%@include file="/WEB-INF/page/inc/pageBar.jsp"%>
</div>